﻿package com.dykj.apps.web.sysmanager.dao.po;

import java.io.Serializable;

public class SysRole implements Serializable {
	private Long roleid; //角色id，seq生成
	private String roledesc; //角色描述
	private Long parent; //父角色
	private String creator; //CREATOR
	private Long groupid; //组id


	public SysRole(Long roleid, String roledesc, Long parent, String creator, Long groupid){
		this.roleid=roleid;
		this.roledesc=roledesc;
		this.parent=parent;
		this.creator=creator;
		this.groupid=groupid;

	}
	public SysRole(){
	}
	public SysRole(Long roleid){
		this.roleid=roleid;
	}
	/**
	 * @return Returns the roleid.
	 */
	public Long getRoleid(){
		return roleid;
	}
	/**
	 * @param roleid The roleid to set.
	 */
	public void setRoleid(Long roleid ){
		this.roleid=roleid;
	}

	/**
	 * @return Returns the roledesc.
	 */
	public String getRoledesc(){
		return roledesc;
	}
	/**
	 * @param roledesc The roledesc to set.
	 */
	public void setRoledesc(String roledesc ){
		this.roledesc=roledesc;
	}

	/**
	 * @return Returns the parent.
	 */
	public Long getParent(){
		return parent;
	}
	/**
	 * @param parent The parent to set.
	 */
	public void setParent(Long parent ){
		this.parent=parent;
	}

	/**
	 * @return Returns the creator.
	 */
	public String getCreator(){
		return creator;
	}
	/**
	 * @param creator The creator to set.
	 */
	public void setCreator(String creator ){
		this.creator=creator;
	}

	/**
	 * @return Returns the groupid.
	 */
	public Long getGroupid(){
		return groupid;
	}
	/**
	 * @param groupid The groupid to set.
	 */
	public void setGroupid(Long groupid ){
		this.groupid=groupid;
	}

	
}